package main

import (
	"github.com/gin-gonic/gin"
	"gocode/routes"
)

func main()  {
	r := gin.Default()

	routes.InitApi(r)

	if err := r.Run(":8858"); err != nil {
		panic(err.Error())
	}
}
